import http from "../utils/http/http.js";

const page = (data) => {
    return http.get("/dict/page", data);
};
const add = (data) => {
    return http.post("/dict/insert", data);
}
const update = (data) => {
    return http.put("/dict/update", data);
}
const delDict = (data) => {
    return http.del("/dict/delete", data);
}
const list = (data) => {
    return http.get("/dict/list", data);
}
export default {
    page,add,update,delDict,list
}